package com.example.loginstructuredemo.model;

import com.example.loginstructuredemo.entity.bean.ArtUserBo;
import com.example.loginstructuredemo.entity.bean.HttpResult;

import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by Alex on 2016/10/13.
 */

public interface LoginService {

	@POST("passport/login")
	@FormUrlEncoded
	Observable<HttpResult<ArtUserBo>> login(@Field("Account") String Account, @Field("Password") String Password);
}
